package com.minortheorie3.sudoku;

import android.content.Context;
import android.widget.TextView;

public class Vak extends TextView {

	private int rij;
	private int kolom;
	private int getal;
	private int colorCode;
	private boolean veranderbaar;
	private Box box;
	
	public Vak(Context context, int rij, int kolom, int getal, int colorCode, Box box) {
		super(context);
		this.rij = rij;
		this.kolom = kolom;
		this.getal = getal;
		this.colorCode = colorCode;
		this.veranderbaar = true;
		this.setBox(box);
	}

	public int getRij() {
		return rij;
	}

	public int getKolom() {
		return kolom;
	}

	public int getGetal() {
		return getal;
	}

	public int getColorCode() {
		return colorCode;
	}

	public void setGetal(int getal) {
		this.getal = getal;
	}
	
	public boolean isVeranderbaar() {
		return veranderbaar;
	}
	
	public void setVeranderbaar(boolean veranderbaar) {
		this.veranderbaar = veranderbaar;
	}

	public void setBox(Box box) {
		this.box = box;
	}

	public Box getBox() {
		return box;
	}


}
